#include <stdio.h>
#include <string>

typedef struct Temp_t
{
    int index;
    std::string title;
} Temp;

int main(int argn, char **argv)
{
    Temp tempTable[3] = {
        1, "123",
        2, "231",
        3, "312"};
    size_t count = sizeof(tempTable) / sizeof(tempTable[0]);
    for (size_t i = 0; i < count; i++)
    {
        printf("%d,%s\n", tempTable[i].index, tempTable[i].title.c_str());
    }
    printf("Hello World!\n");
    return 0;
}